package com.svse.designPattern.behaviour.visitor.impl;

import com.svse.designPattern.behaviour.visitor.service.Element;
import com.svse.designPattern.behaviour.visitor.service.Visitor;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/9 9:53
 */
public class ConcreteElementB implements Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
    public String operationB()
    {
        return "具体元素B的操作。";
    }
}
